import React from 'react';
import cn from 'classnames';
import './index.less';

const CardWrapper = function (props) {
  const { title, children, className } = props;
  return (
    <div className={cn('tl-card-wrapper', className)}>
      <div className="title">{title}</div>
      <div className="content">{children}</div>
    </div>
  );
};

export default CardWrapper;
